//
//  ResultCVCell.h
//  KeepFit
//
//  Created by dllo on 15/10/30.
//  Copyright © 2015年 Fuzzie Liu. All rights reserved.
//

#import <UIKit/UIKit.h>
// 协议第一步
@protocol tableViewDelegate <NSObject>

- (void)pushFoodVCWithStr:(NSString *)str;

@end




@interface ResultCVCell : UICollectionViewCell<UITableViewDataSource, UITableViewDelegate>
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray *foodResultArr;
@property (nonatomic, strong) NSMutableArray *commonResultArr; // 常见
@property (nonatomic, strong) NSMutableArray *caloryResultArr; // 热量
@property (nonatomic, strong) NSMutableArray *proteinResultArr; // 蛋白质
@property (nonatomic, strong) NSMutableArray *fatResultArr;   // 脂肪
@property (nonatomic, strong) NSString *urlStr;
@property (nonatomic, assign) NSInteger groupIndex;
@property (nonatomic, assign) id<tableViewDelegate> pushdelegate;

@property (nonatomic, strong) NSNumber *total_pages;        // 总页数
@property (nonatomic, assign) NSInteger current_page;        // 当前页数

- (void)loadData;
- (void)freshData;



@end
